<?php
// +-----------------------+
// | 注释不留名，代码随便用 |
// +-----------------------+

namespace addons\library\plugs;

use addons\library\Plugs;

/**
 * 小部件
 * Class Part
 * @package addons\library\plugs
 */
class Part extends Plugs
{

    public function getBootstrapClass(){
        return 'addons\\' . $this->name . '\\Bootstrap';
    }

    public function setLocal($local = '')
    {
        $this->local =  $local ? : ADDON_PATH;
    }
}